package com.hornsun.domain.dbo;

import java.util.Date;

public class Verify {
    private String mobile;

    private String code;

    private Byte type;

    private Date createtime;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mobile=").append(mobile);
        sb.append(", code=").append(code);
        sb.append(", type=").append(type);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}